<?php include_once "controle/controle.php"; ?>
<!DOCTYPE html>
<html>
    <head>
        <title>Controle de Eventos - AnguloWeb</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="cache-control" content="max-age=0">
        <meta http-equiv="cache-control" content="no-cache">
        <meta http-equiv="pragma" content="no-cache">
        <meta name="robots" content="noindex, nofollow">
        
<!--        
        <link rel="stylesheet" href="css/estilo.css" type="text/css" media="screen">
-->        

        <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
        
        <link rel="stylesheet" href="css/main.css" type="text/css">
        <link rel="stylesheet" href="css/normalize.min.css" type="text/css">
        <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
        
        <script type="text/javascript" src="js/estado_cidade.js" ></script>
        <script type="text/javascript" src="js/javascript.js" ></script>
        <script type="text/javascript" src="js/aw_validacao.js" ></script>
        <script type="text/javascript" src="js/valida.js" ></script>
    </head>
    <body>
        
        <div class="header-container" id="cabecalho">
            <header class="wrapper clearfix">
                <div class="title">
                    <a href="index.php">
                        <table>
                            <tr>
                                <td>
                                    <div>
                                        <img src="imagens/logoConbrad.png" alt="Conbrad" title="Conbrad"/>
                                    </div>
                                </td>
                                <td>
                                    <div>
                                        <h1 id="titulo">XI CONBRAD</h1>
                                        <h2 id="subtitulo">Gestão e Inovação na Responsabilidade Social - Perspectivas para o Administrador</h2>
                                        <h3 id="subtitulo">08 a 11 de Setembro - Teatro Marista - Maringá PR</h3>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </a>
                <?php if(logado()){ ?>
                <div id="user_data">
                    <span><?=$_SESSION["ce_usr_nome"]?></span><br>
                    <span><?=$_SESSION["ce_usr_cpf"]?><span><br>
                    <a href="?sair=1" title="Sair do sistema">Sair</a>
                </div>
                <?php } ?>                    
                </div>
                <!--
                <nav>
                    <ul>
                        <li><a href="#">nav ul li a</a></li>
                        <li><a href="#">nav ul li a</a></li>
                        <li><a href="#">nav ul li a</a></li>
                    </ul>
                </nav>
                -->
            </header>
        </div>
        
        <div class="main-container" id="corpo">
            <div class="main wrapper clearfix">
                <article>
                    <section id="section_index">
                        
                        <?php if(logado()){
                        
                            switch ($pag) {
                                case "cad": include_once "visao/cadastro.php"; break;
                                case "art": include_once "visao/artigo.php"; break;
                                default: include_once "visao/home.php"; break;
                            }

                        }else if($_GET["cad"] == 1){
                            include_once "visao/cadastro.php";
                        }else{
                            if($evento->get_id()){
                                include_once "visao/login.php";
                            }else{
                                include_once "visao/evento_change.php";
                            }
                        }
                        ?>
                    </section>
                </article>
            </div> <!-- #main -->
        </div> <!-- #main-container -->

        
        <div class="footer-container" id="rodape">
            <footer class="wrapper">
                <table>
                    <tr>
                        <td>
                            <div>
                                <h3>CONBRAD - Congresso Brasileiro de Administração</h3>                                
                            </div>
                        </td>
                        <td align="right">
                            <div>
                                <a href="http://www.anguloweb.com.br">
                                    <img src="imagens/LogoAWWP.png" alt="AnguloWeb" title="AnguloWeb"/>                                                                    
                                </a>
                            </div>
                        </td>
                    </tr>
                </table>

        </div>
        </div>
    </body>
</html>
